Skip to main content

revXMLDeleteTree

Type

command

Summary

Removes an XML tree structure from memory.

Syntax

revXMLDeleteTree <treeID>

Description

Use the revXMLDeleteTree command to free up memory when you're finished using an XML tree.

Important

The revXMLDeleteTree command is part of the XML library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "XML" checkbox is checked.

Parameters

NameTypeDescription

treeID

The number returned by the revXMLCreateTree or revXMLCreateTreeFromFile function when you created the XML tree.

Examples

revXMLDeleteTree 2
revXMLDeleteTree the currTree of this card

command: revXMLDeleteNode, revXMLDeleteAllTrees

function: result

glossary: Standalone Application Settings, standalone application, XML tree, command, LiveCode custom library

library: XML library

message: revXMLStartTree

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?